package com.tank.nio;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: SuQiEr
 * Date:2017/7/30 0030
 * Time: 下午 4:13
 * To change this template use File | Settings | File Templates.
 */
public class Person implements Serializable{

    private String username;

    private Integer age;

    public Person() {
    }

    public Person(String username, Integer age) {
        this.username = username;
        this.age = age;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
